<?php

namespace Modules\Admin\services;

use App\Common\Tools\Captcha;

class CaptchaService extends BaseService
{
    /**
     * 获取验证码
     *
     * @return array
     */
    public function getInlineImageAndCode()
    {
        /** @var Captcha */
        $captcha = app(Captcha::class);
        return $captcha->inline();
    }
}